import { createRouter, createWebHashHistory } from "vue-router";
import index from "../views/index.vue";
import home from "../views/home.vue";
import login from "../views/login.vue";
import enroll from "../views/enroll.vue";
import user from "../views/user.vue";
import illustrate from "../views/illustrate.vue";
import map from "../views/map.vue";
import perform from "../views/perform.vue";
import Strategy from "../views/Strategy.vue";
import search from "../views/search.vue";
import list from "../views/list.vue";
import me from "../views/me.vue";
import activity from "../views/activity.vue";
import ticket from "../views/ticket.vue";
import order from "../views/order.vue";
import payment from "../views/payment.vue";
import realname from "../views/realname.vue";
import Strategy_details from "../views/Strategy_details.vue";
import travels from "../views/travels.vue";
import ask from "../views/ask.vue";
import Scenic_Area_Details from "../views/Scenic_Area_Details.vue"
import zjj from "../views/zjj.vue";
import Comment from "../views/Comment.vue";
import review from "../views/review.vue";
import me_order from "../views/me_order.vue";
const routes = [
  {
    path: "/",
    name: "index",
    component: index,
  },
  {
    path: "/home",
    name: "home",
    component: home,
  },
  {
    path: "/login",
    name: "login",
    component: login,
  },
  {
    path: "/enroll",
    name: "enroll",
    component: enroll,
  },
  {
    path: "/user",
    name: "user",
    component: user,
  },
  {
    path: "/illustrate",
    name: "illustrate",
    component: illustrate,
  },
  {
    path: "/map",
    name: "map",
    component: map,
  },
  {
    path: "/perform",
    name: "perform",
    component: perform,
  },
  {
    path: "/Strategy",
    name: "Strategy",
    component: Strategy,
  },
  {
    path: "/search",
    name: "search",
    component: search,
  },
  {
    path: "/list",
    name: "list",
    component: list,
  },
  {
    path: "/me",
    name: "me",
    component: me,
  },
  {
    path: "/activity",
    name: "activity",
    component: activity,
  },
  {
    path: "/ticket",
    name: "ticket",
    component: ticket,
  },
  {
    path: "/order",
    name: "order",
    component: order,
  },
  {
    path: "/payment",
    name: "payment",
    component: payment,
  },
  {
    path: "/realname",
    name: "realname",
    component: realname,
  },{
    path:"/Strategy_details",
    name:"Strategy_details",
    component:Strategy_details,
  },{
    path:"/travels",
    name:"travels",
    component:travels,
  },{
    path:"/ask",
    name:"ask",
    component:ask,
  },{
    path:"/Scenic_Area_Details",
    name:"Scenic_Area_Details",
    component:Scenic_Area_Details,
  },{
    path:"/zjj",
    name:"zjj",
    component:zjj,
  },{
    path:"/Comment",
    name:"Comment",
    component:Comment,
  },{
    path:"/review",
    name:"review",
    component:review,
  },{
    path:"/me_order",
    name:"me_order",
    component:me_order,
  }
];
const router = createRouter({
  routes,
  history: createWebHashHistory(),
});
export default router;
